#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int i, x;
	x = 1;
		for (i = 9; i >= 1; i--)
		{
			x = (x + 1) * 2;
			printf("i=%2d,x%d\n", i, x);
		}

	return 0;
}